// 莫凡工具类配置文件
import userAccess from "../lib/userAccess.js";
import dataTrack from "../lib/dataTrack.js";
import logger from "../lib/logger.js";
import customTemp from '../lib/customTemp';
import systemAccess from '../lib/systemAccess';

import common from '../common/index';

const config = [
  // userAccess
  {
    enable: false,
    name: '用户基本信息模块',
    key: 'userAccess',
    package: userAccess,
    parameter: {
      isTrackNick: true,   //是否开启明文埋点
      code: 179
    },
  },
  // logger
  {
    enable: true,
    name: '消息发送器',
    key: 'logger',
    package: logger,
    parameter: {
      loggerShow: true,
    },
  },
  // systemAccess
  {
    enable: true,
    name: '系统参数',
    key: 'systemAccess',
    package: systemAccess,
    parameter: {},
  },
  // customTemp
  {
    enable: false,
    name: '自定义模版数据',
    key: 'customTemp',
    package: customTemp,
    parameter: {

    },
  },
  // dataTrack
  {
    enable: false,
    name: '埋点模块',
    key: 'dataTrack',
    package: dataTrack,
    parameter: {
      isTrackNick: true,   //是否开启明文埋点
      code: 179
    },
  },
  // common
  {
    enable: true,
    name: '通用模块',
    key: 'common',
    package: common,
    parameter: {
      dataInitLoad: false,
      arrInitLoad: false
    },
  },
];


export default config;